package com.googlecode.springgameengine.sample;

import com.googlecode.springgameengine.Game;
import com.googlecode.springgameengine.Scene;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.lwjgl.opengl.Display;

/**
 *
 * @author Maciej
 */
public class SampleGame implements Game {
	
	private static final Log log = LogFactory.getLog(SampleGame.class);
	private Scene scene = new SampleScene();


	@Override
	public Scene update(long delta) {
		return scene;
	}

	@Override
	public boolean isFinished() {
		return Display.isCloseRequested();
	}
	
}
